import requset from '@/utils/request.js'

// 文件列表
export function xlsList(data){
  return requset({
    url:'/api/onlineOffice/xlsList',
    method: 'post',
    data
  })
}
// 文件创建保存
export function xlsAddOrUpload(data){
  return requset({
    url:'/api/onlineOffice/xlsAddOrUpload',
    method: 'post',
    data
  })
}
//文件加载
export function xlsOnload(fid){
  return requset({
    url:`/api/onlineOffice/xls/${fid}/`,
    method: 'post',
  })
}
// 文件删除
export function xlsDelete(data){
  return requset({
    url:'/api/onlineOffice/xlsDelete',
    method: 'post',
    data
  })
}